JEdit: 5.1.0
Project plugin: ProjectViewer 3.5.3
This is most probably an interaction with another plugin. With the ProjectViewer docked
on the left, I just click to select the view and I get:
java.lang.ClassCastException: gatchan.jedit.lucene.IndexProjectAction cannot be cast
to projectviewer.action.Action
at projectviewer.vpt.VPTContextMenu.updateExtensions(VPTContextMenu.java:196)
at projectviewer.config.ExtensionManager.register(ExtensionManager.java:98)
at projectviewer.vpt.VPTContextMenu.<init>(VPTContextMenu.java:103)
at projectviewer.vpt.ProjectTreePanel.<init>(ProjectTreePanel.java:105)
at projectviewer.ProjectViewer.buildGUI(ProjectViewer.java:642)
at projectviewer.ProjectViewer.<init>(ProjectViewer.java:602)
at projectviewer.ProjectViewer.createDockable(ProjectViewer.java:863)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.gjt.sp.jedit.bsh.Reflect.invokeMethod(Reflect.java:134)
at org.gjt.sp.jedit.bsh.Reflect.invokeStaticMethod(Reflect.java:98)
at org.gjt.sp.jedit.bsh.Name.invokeMethod(Name.java:871)
at org.gjt.sp.jedit.bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644)
at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738)
at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727)
at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148)
at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113)
at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:377)
at org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDockableWindow(DockableWindowFactory.java:482)
at org.gjt.sp.jedit.gui.DockableWindowManagerImpl.showDockableWindow(DockableWindowManagerImpl.java:355)
at org.gjt.sp.jedit.gui.PanelWindowContainer$ActionHandler.actionPerformed(PanelWindowContainer.java:458)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:308)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
| Submitted | jslaroch - 2014-07-10 21:58:58.368000 | Assigned | |
|---|---|---|---|
| Priority | 5 | Labels | Windows Specific |
| Status | open | Group | |
| Resolution | None |
| 2014-07-10 22:36:18.436000 ezust |
That happens sometimes after plugin updates. Can you reproduce this after restarting
jEdit? What about cleaning our %APPDATA%\jEdit\jars-cache folder?
|
|---|---|
| 2014-07-11 14:53:13.632000 jslaroch |
Yes I did try restarting. I tried cleaning up the jars-cache and it did not change anything either. I never had this kind of problem before so I do not have a backup of my jedit setup. With a backup I would have been able to see exactly what the last update did but this will not be possible. I remember that something like 3 plugins were updated but not the details. I guess I could use the PluginManager and try to find the details. |
| 2014-07-11 14:56:26.392000 ezust |
Please reproduce and attach to this ticket an activity log that shows what is happening . |
| 2014-07-11 15:27:37.416000 jslaroch |
Additional information. From the logs here are the latest updates :
|
| 2014-07-11 15:37:29.651000 ezust |
Click "add attachments" (next to post) and add your activity.log (from %APPDATA%\jEdit)
|
| 2014-07-11 15:38:54.349000 ezust |
- **labels**: --> Windows Specific |
| 2014-07-11 15:38:54.726000 ezust |
I think this is caused by Lucene 4.0.
|
| 2014-07-11 15:52:20.903000 ezust |
try plugin manager - find orphan and see if there are old jars lying around. |
| 2014-07-11 16:49:50.390000 jslaroch |
* New development *. I had tried cleaning the jars-cache as you suggested and stopping
restarting jedit with no results. However, while preparing to give you an activity
log I decided to really start clean so instead of just doing "File -> Exit" I also
used the TaskManager to kill the JEdit "server" (javaw.exe) that keeps running in
the background. That apparently did the trick and the ProjectViewer seems to be working
again. Restarting my system would probably have had a similar effect. Bottom line:
I can't get the error anymore and everything seems to be working fine. I guess we
can now close this issue.
|